package com.briup.day14;

public class Test_Enum {
    public static void main(String[] args) {
        //固定格式:枚举类 引用=枚举类.枚举元素
        Gender male = Gender.MALE;
        Gender female = Gender.FEMALE;
        System.out.println(male);
        System.out.println(female);
    }
}
enum Gender{
    MALE,FEMALE;
}
